package biz.inv.dto;

import biz.master.dto.Product;

import java.io.Serializable;

/**
 * Created by rachatanawee on 2/12/14.
 */
public class StockInDetail implements Serializable {
    private int id;
    private int receiveId;
    private double qty;
    private String remark;
    private Product product;

    @Override
    public String toString() {
        return "StockInDetail{" +
                "id=" + id +
                ", receiveId=" + receiveId +
                ", qty=" + qty +
                ", remark='" + remark + '\'' +
                ", product=" + product +
                '}';
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public StockInDetail() {
        product = new Product();
    }

    public StockInDetail(int productId, double qty) {
        this.qty = qty;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(int receiveId) {
        this.receiveId = receiveId;
    }

    public double getQty() {
        return qty;
    }

    public void setQty(double qty) {
        this.qty = qty;
    }
}
